<?php
namespace common\models;

use common\validate\BaseValidate;
use Yii;
use yii\base\Model;

/**
 * Login form
 */
class VerifyCode extends BaseValidate
{
    public $verifyCode;

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            // username and password are both required
            ['verifyCode', 'captcha','captchaAction'=>'site/Captcha','message'=>'验证码不正确！'],
        ];
    }
}
